package DiYiZhou;

public class LianXi3 {
    public static void main(String[] args) {
       int a,b,c;
        a=23;
        b=34;
        System.out.println("a和b交换之前");
        System.out.println("a = " + a);
        System.out.println("b = " + b);
        c=a;
        a=b;
        b=c;
        System.out.println("a和b交换之后");
        System.out.println("a = " + a);
        System.out.println("b = " + b);
    }
}
